var endpoint = "http://dripplertest.eu01.aws.af.cm"; //for production
//var endpoint = "http://localhost:8080";  //for local testing
//var endpoin = TODEFINE; //for testing env;


function getHotVideos(callback)
{
    $.ajax(
        {
            type : "GET",
            url : endpoint + "/getHotVideos",
            dataTYpe: 'jsonp',
        
            success:
                function(data)
                {
                    callback(data);
                }
         }
    );
}
